package com.yyhn.guilimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yyhn.common.utils.PageUtils;
import com.yyhn.guilimall.product.entity.SkuInfoEntity;
import com.yyhn.guilimall.product.vo.web.SkuItemVo;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author wanjiaceng
 * @email wanjiaceng@gmail.com
 * @date 2020-12-03 20:23:26
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    PageUtils getskuInfoqueryPage(Map<String, Object> params);

    List<SkuInfoEntity> getSkuBySpuId(Long spuId);

    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;


//    void saveSpuInfo(SpuSaveVo spuSaveVo);
}

